post
abstract suspend fun post(error: AuthorizationRequestError, errorDispatchDetails: ErrorDispatchDetails, encryptionParameters: EncryptionParameters?): DispatchOutcome.VerifierResponse(source)
Method forms a suitable authorization response, based on the error and the provided errorDispatchDetails, then post it to the Verifier's end-point and returns his response.
This method is applicable when the errorDispatchDetails contains a ErrorDispatchDetails.responseMode which is either ResponseMode.DirectPost or ResponseMode.DirectPostJwt.
Return
the verifier's response after receiving the authorization response.
Parameters
error
The error to dispatch ResponseMode.Query, ResponseMode.QueryJwt, ResponseMode.Fragment or ResponseMode.FragmentJwt
error Dispatch Details
Details on how to dispatch the error